package com.meshnetics.gb.stack.mac.type;

import com.meshnetics.gb.type.impl.zcl.FixedBytesDataValue;
import com.meshnetics.gb.type.impl.zcl.TypeBitmap;

/**
 * WRITE DESCRIPTION HERE
 *
 * @author AKovylin
 */
public class TypeTxOptions extends TypeBitmap {
    public static final TypeTxOptions TYPE = new TypeTxOptions();

    TypeTxOptions() {
        super(new String[]{"macTxOptions"}, null, 1);
    }

    // no byte array cloning needed
    protected FixedBytesDataValue createValue(byte[] bytes) {
        return new TxOptions(this, bytes);
    }
}
